package cn.stylefeng.guns.modular.order.entity;

import com.baomidou.mybatisplus.annotation.TableName;

import lombok.Data;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 出库订单预排车表
 * </p>
 * @author zhucx
 * @since 2023-11-08
 */
@Data
@TableName("order_outprepare_platooncar")
public class OrderOutpreparePlatooncar implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @TableField(value = "client_vol_sum_id")
    private Long clientVolSumId;

    /**
     * 发货门店id
     */
    @TableField("store_id")
    private String storeId;

    /**
     * 发货门店名称
     */
    @TableField("store_name")
    private String storeName;

    /**
     * 收货客户id
     */
    @TableField("client_id")
    private String clientId;

    /**
     * 客户名称
     */
    @TableField("client_name")
    private String clientName;

    /**
     * 申请数量
     */
    @TableField("quantity")
    private String quantity;

    /**
     * 体积
     */
    @TableField("volume")
    private String volume;

    /**
     * 换算数量
     */
    @TableField("whole_quantity")
    private String wholeQuantity;

    /**
     * 承运商id
     */
    @TableField("carrier_id")
    private Long carrierId;

    /**
     * 承运商
     */
    @TableField("carrier_name")
    private String carrierName;

    /**
     * 车辆id
     */
    @TableField("car_id")
    private Long carId;

    /**
     * 车牌号
     */
    @TableField("carnumber")
    private String carnumber;

    /**
     * 司机
     */
    @TableField("siji")
    private String siji;

    /**
     * 司机电话
     */
    @TableField("sijidianhua")
    private String sijidianhua;

    /**
     * 准载量
     */
    @TableField("zhunzailiang")
    private String zhunzailiang;

    /**
     * 满载率
     */
    @TableField("fulllv")
    private String fulllv;

    /**
     * 创建人
     */
    @TableField("create_by")
    private String createBy;

    /**
     * 创建时间
     */
    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private Date createTime;

    @TableField("stat")
    private String stat;

    @TableField("est_delivery_date")
    private Date estDeliveryDate;

    /**
     * 备注
     */
    @TableField("memo")
    private String memo;

    /**
     * v1
     */
    @TableField("v1")
    private String v1;

    /**
     * v2
     */
    @TableField("v2")
    private String v2;

    /**
     * 部门id
     */
    @TableField("dept_id")
    private Long deptId;

    /**
     * 交付客户id
     */
    @TableField("deliver_id")
    private Long deliverId;

    @Override
    public String toString() {
        return "OrderOutpreparePlatooncar{" +
        "id=" + id +
        ", storeId=" + storeId +
        ", storeName=" + storeName +
        ", clientId=" + clientId +
        ", clientName=" + clientName +
        ", quantity=" + quantity +
        ", volume=" + volume +
        ", wholeQuantity=" + wholeQuantity +
        ", carrierId=" + carrierId +
        ", carrierName=" + carrierName +
        ", carId=" + carId +
        ", carnumber=" + carnumber +
        ", siji=" + siji +
        ", sijidianhua=" + sijidianhua +
        ", zhunzailiang=" + zhunzailiang +
        ", fulllv=" + fulllv +
        ", createBy=" + createBy +
        ", createTime=" + createTime +
        ", memo=" + memo +
        ", v1=" + v1 +
        ", v2=" + v2 +
        ", deptId=" + deptId +
        ", deliverId=" + deliverId +
        "}";
    }
}
